<%--
  Created by IntelliJ IDEA.
  User: gengxin
  Date: 2020/12/4
  Time: 5:06 下午
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登录页面</title>
    <link href="./css/bootstrap.min.css" rel="stylesheet" media="screen">
</head>
<body style="padding:80px;">
<form action="login" method="post">
    <div class="form-group">
        <label>用户名：</label>
        <input class="form-control" name="userName" placeholder="请输入用户名" style="width: 200px"/>
    </div>
    <div class="form-group">
        <label>密码：</label>
        <input type="password" class="form-control" name="password" style="width: 200px"/>
    </div>
    <input type="submit" value="登录"/><br>
    <span style="color: indianred">
        <%= request.getAttribute("error")==null ? "" : request.getAttribute("error") %>
    </span>
</form>
</body>
<script type="text/javascript" src="./js/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="./js/bootstrap.min.js"></script>
</html>
